package Day7;

public class Teacher {
    String name;
    private int age;
    private int teachAge;
    private char sex;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getTeachAge() {
        return teachAge;
    }

    public void setTeachAge(int teachAge) {
        this.teachAge = teachAge;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    public void selfIntroduce(){
        System.out.println("大家好");
        System.out.println("我的名字是："+name+"性别"+sex+"我的年龄是："+age+"我的教龄"+teachAge);
    }

    public void giveLession(){

    }

}
